import { request } from 'umi';

// 获取知识小册列表
export function getKnowledgeList() {
  return request('/api/Knowledge');
}

// 获取知识小册详情
export function getKnowledgeDetail(id: string) {
  return request(`/api/Knowledge/${id}`);
}
//
export function getKnowledgeDetailDetail(id: string) {
  return request(`/api/Knowledge/${id}/${id}`);
}
// 获取知识小册详情
export function getKnowLedgeKid(id: string) {
  return request(`/api/knowledge/${id}`);
}
